package com.mlnx.stream.listener;


import com.mlnx.device.pojo.dto.DeviceStateRecord;
import com.mlnx.device.pojo.dto.EcgInfoMsg;

public interface EcgListener extends DeviceListener {

	/**
	 * 收到心电body
	 *
	 */
	default void receiveEcgInfo(EcgInfoMsg ecgInfoMsg){}


	/**
	 * 开始心电数据
	 * @param patientId
	 * @param deviceId
	 */
	default void startEcgPacket(Integer patientId, String deviceId){}

	/**
	 * 停止心电数据
	 * @param patientId
	 * @param deviceId
	 */
	default void stopEcgPacket(Integer patientId, String deviceId){}

	/**
	 * 设备紧急呼叫
	 * @param deviceStateRecord
	 */
	default void castDeviceState(DeviceStateRecord deviceStateRecord){}

	/**
	 * 保存备注
	 * @param deviceId
	 * @param patientId
	 * @param remark
	 */
	default void deviceRemark(String deviceId, Integer patientId, String remark){}

}
